package com.ucode.model.hrm.enums;

import com.ucode.tool.base.ResultCode;

/**
 * 人力资源系统业务返回值代码
 */
public interface HrmSysResultCodeEnum {

    ResultCode CUSTOMER_COMPANY_NOT_EXISTS = new ResultCode(1000005007, "客户公司不存在");
    ResultCode CUSTOMER_COMPANY_NAME_DUPLICATE = new ResultCode(1000005007, "客户公司名称已存在");

    ResultCode CUSTOMER_PROJECT_NOT_EXISTS = new ResultCode(1000005007, "客户项目不存在");
    ResultCode CUSTOMER_PROJECT_NAME_DUPLICATE = new ResultCode(1000005007, "客户项目名称已存在");
    ResultCode CUSTOMER_USERNAME_EXISTS = new ResultCode(1000005008, "账号【{}】已注册,请更换");

    ResultCode JOB_POST_NOT_EXISTS = new ResultCode(1000005007, "招聘岗位不存在");
    ResultCode PERSONAL_RESUME_NOT_EXISTS = new ResultCode(1000005007, "个人简历不存在");
    ResultCode PERSONAL_RESUME_NOT_COMPLETE = new ResultCode(1000005007, "请完善个人简历");

    ResultCode SOCIAL_SECURITY_RULE_NOT_EXISTS = new ResultCode(1000005007, "社保规则不存在");
    ResultCode EMPLOYEE_NOT_EXISTS = new ResultCode(1000005007, "员工不存在");
    ResultCode EMPLOYEE_COMPENSATION_NOT_EXISTS = new ResultCode(1000005007, "员工薪酬未配置");
    ResultCode EMPLOYEE_IDENTITY_ENTRY_NOT_EXISTS = new ResultCode(1000005007, "未找到该身份入职信息");
    ResultCode EMPLOYEE_HAVE_QUITTED_ERROR = new ResultCode(1000005007, "员工已离职");
    ResultCode EMPLOYEE_BIND_OTHER_ERROR = new ResultCode(1000005007, "员工已绑定其账号");
    ResultCode EMPLOYEE_IDENTITY_ALREADY_EXIST = new ResultCode(1000005007, "身份证号已存在");

    ResultCode EMPLOYEE_CONTRACT_NOT_EXISTS = new ResultCode(1000005007, "员工合同不存在");

    ResultCode CONTRACT_GENERATE_ERROR = new ResultCode(1000005007, "合同生成失败");
    ResultCode CONTRACT_TPL_NOT_EXISTS = new ResultCode(1000005007, "合同模板不存在");
    ResultCode CONTRACT_DOCUSIGN_ACROSS_ERROR = new ResultCode(1000005007, "合同骑缝章自动签异常");
    ResultCode CONTRACT_END_TIME_ERROR = new ResultCode(1000005007, "合同结束日期必须大于合同开始日期");

    ResultCode COMPANY_NOT_EXISTS = new ResultCode(1000005007, "企业主体不存在");
    ResultCode ADD_SIGNATURE_ERROR = new ResultCode(1000005007, "添加电子印章失败:{}");
    ResultCode FADADA_API_REQUEST_ERROR = new ResultCode(1000005007, "请求法大大:{}失败:{}");

    ResultCode ATTENDANCECONFIG_NOT_EXITS = new ResultCode(10000001, "打卡配置不存在");
    ResultCode ATTENDANCERECORD_NOT_EXITS = new ResultCode(10000001, "打卡记录不存在");
    ResultCode ATTENDANCE_APPLY_NOT_EXITS = new ResultCode(10000001, "补卡申请不存在");

    ResultCode LEAVE_APPLY_RECORD_NOT_EXITS = new ResultCode(10000001, "请假记录不存在");


}